import { BuffData } from "./const/BuffData";
import { BuffType } from "./const/BuffType";
import { BleedBuff } from "./subs/BleedBuff";

/**
 * buff生成器
 */
export class BuffCreator {

    static create(data: BuffData) {
        switch (data.buffType) {
            case BuffType.bleed://流血buff
                return new BleedBuff(data)
        }
    }
}